﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(function(){
	var testObj = $('.x p');
	
	alert(testObj.length);
});
</script>
</head>

<body>

<div class="x">
	<div class="x">
		<p></p>
		<p></p>
	</div>
	<div class="x">
		<p></p>
	</div>
	<div>
		<p></p>
	</div>
</div>

</body>

</html>
